package instance
{
	import view.KongfuPanda;

	public class GameModel
	{
		public var hero:KongfuPanda;
		
		private static var _instance:GameModel;
		
		public function GameModel( s:Singleton ){}
		
		public static function get instance():GameModel
		{
			if( !_instance )
				_instance = new GameModel(new Singleton());
			return _instance;
		}
	}
}

class Singleton{}